package com.ruoyi.labour.mapper;

import com.ruoyi.labour.domain.LabourBusinessLicense;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusinessLicenseMapper  {

    /**
     * 修改营业执照状态
     * @param status
     * @param id
     */
    void businessLicenseMapper(@Param("status") Integer status,
                               @Param("id") Integer id);

    /**
     * 查询营业执照
     * @return
     */
    List<LabourBusinessLicense> selectRecruit();


    /**
     * 根据id查询营业执照
     * @param id
     * @return
     */
    LabourBusinessLicense selectBusiness(@Param("id") int id );

    /**
     * 根据id查询营业执照是否存在
     * @param id
     * @return
     */
    int checkBusinessIsExist(@Param("id") Integer id );
}
